"""
新建日志类
"""
from pages.base_page import BasePage
from selenium.webdriver.common.by import By


class NewLogPage(BasePage):
    save_btn_locator = (By.NAME, "submit")

    def save_btn(self):
        """点击保存按钮"""
        self.driver.find_element(*self.save_btn_locator).click()